package com.scvtc.mapper.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.scvtc.domain.entity.system.SystemRole;

import java.util.List;

/**
 * 角色管理(SystemRole)表数据库访问层
 *
 * @author yiFei
 * @since 2022-04-13 17:38:28
 */
public interface SystemRoleMapper extends BaseMapper<SystemRole> {
    /**
     * 获取用户
     * @param id
     * @return
     */
    List<SystemRole> getRolesByUserId(Long id);
}

